#include <bits/stdc++.h>
// 2025/01/19
// tag:
// Author: Zhang Muen
using namespace std;

signed main()
{
    int n;
    cin >> n;
    int w = n, b = n;
    for (int i = 1; i <= n * 2 - 6; i++)
    {
        if (i % 2 == 1)
        {
            for (int j = 1; j <= w; j++)
                cout << "o";
            for (int j = 1; j <= b; j++)
                cout << "*";
            cout << "--";
            for (int j = 1; j <= i / 2; j++)
                cout << "o*";
        }
        else
        {
            w--, b--;
            for (int j = 1; j <= w; j++)
                cout << "o";
            cout << "--";
            for (int j = 1; j <= b; j++)
                cout << "*";
            for (int j = 1; j <= i / 2; j++)
                cout << "o*";
        }
        cout << endl;
    }
    cout << "ooo*o**--*";
    for (int i = 1; i <= n - 4; i++)
        cout << "o*";
    cout << endl;
    cout << "o--*o**oo*";
    for (int i = 1; i <= n - 4; i++)
        cout << "o*";
    cout << endl;
    cout << "o*o*o*--o*";
    for (int i = 1; i <= n - 4; i++)
        cout << "o*";
    cout << endl;
    cout << "--o*o*o*o*";
    for (int i = 1; i <= n - 4; i++)
        cout << "o*";
    cout << endl;
    return 0;
}